package bizImpl;

import bean.User;
import biz.UserBiz;
import dao.UserDao;
import daoImpl.UserDaoImpl;

public class UserBizImpl implements UserBiz {
	UserDao ud = new UserDaoImpl();
	
	@Override
	public boolean Login(User user) {
		return ud.finduser(user);
	}

	@Override
	public boolean Register(User user) {
		return ud.reguser(user);
	}

}
